/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.is.city.routemanager.Layers;

import org.geotools.data.FeatureSource;
import org.geotools.feature.FeatureCollection;
import org.geotools.map.FeatureLayer;
import org.geotools.styling.Style;

/**
 *
 * @author oleg
 */
public class PointsLayer extends FeatureLayer{

    public PointsLayer(FeatureCollection collection, Style style, String title) {
        super(collection, style, title);
    }

    public PointsLayer(FeatureSource featureSource, Style style) {
        super(featureSource, style);
    }

    public void dataChanged(){
        sourceListener.changed(null);
    }
}
